package com.vil.mapper;

import com.vil.entity.Equipment;
import com.vil.entity.Function;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface EquipmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Equipment record);

    int insertSelective(Equipment record);

    Equipment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Equipment record);

    int updateByPrimaryKey(Equipment record);


    List<Equipment> getListByManyConditions(Equipment recode);
    //批量删除
    int deleteMany(Long[] array);
}